var openSingleWindow = function(url){
    var width = screen.availWidth;
    var height = screen.availHeight;
    var szFeatures = "top=0,left=0,width=" + (width - 10) + ",";
    var isMise = /msie/.test(navigator.userAgent.toLowerCase());
    szFeatures += "height=" + (isMise ? height : (height - 60)) + ",";
    szFeatures += "directories=no,";
    szFeatures += "status=yes,";
    szFeatures += "menubar=no,";
    szFeatures += "scrollbars=yes,";
    szFeatures += "resizable=yes";
    window.open(url, "", szFeatures);
}
module.exports = { openSingleWindow };